Do We Need Inheritance?

نویسندگان

  • Wolfgang Weck
  • Clemens Szyperski
چکیده

Object-oriented programming rests on four pillars: polymorphism, late binding, encapsulation, and inheritance. Of these, inheritance is the one most controversially discussed. Various problems have been stated, that occur when inheritance is used for object composition, modification, and extension. These problems are caused by the possibility to override single methods of the inherited object, thereby changing it rather than reusing it as a whole. This possibility contradicts actually the requirements of encapsulation.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Comparative study of the Quranic thought of the dominance of religion (Islam) on other religions from the perspective of Allameh Tabatabai, Alousi

In the Holy Qur'an, there are three promises including overcoming the religion on other religions, the inheritance of the believers and the righteous of believers. Do these interpretations have just one related message, that is, the rule of Islam for the world, or any separate message? On this basis; we can provide another question: Is Islam overcoming the same with inheritance of the believers...

متن کامل

High Stakes Require More Than Just Talk: What to Do About Corruption in Health Systems; Comment on “We Need to Talk About Corruption in Health Systems”

Reluctance to talk about corruption is an important barrier to action. Yet the stakes of not addressing corruption in the health sector are higher than ever. Corruption includes wrongdoing by individuals, but it is also a problem of weak institutions captured by political interests, and underfunded, unreliable administrative systems and healthcare delivery models. We ur...

متن کامل

روایت «لا نُوَرِّثُ ماترکنا صَدَقَه» در دو نگاه

According to Sunni narrative sources, Abu Bakr quotes the Prophet’s words that “We, the group of prophets, do not leave any inheritance what we leave is counted as alms.” Although Sunnis believe in authenticity of this narration, Shi'ites reject it because of lack of the chain of transmission and its conflict with the Quran and the Prophet's tradition. This article attempts to search this hadit...

متن کامل

All It Takes for Corruption in Health Systems to Triumph, Is Good People Who Do Nothing; Comment on “We Need to Talk About Corruption in Health Systems”

Numerous investigations demonstrate that the problem of corruption in the health sector is enormous and has grave negative consequences for patients. Nevertheless, the problem of corruption in health systems is far from eminent in the international health policy debate. Hutchinson, Balabanova, and McKee have identifed in their Editorial five reasons why the health policy community has been relu...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996